package com.tt.plat8.userbase.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * Created with IntelliJ IDEA.
 * UserBean: tangtao
 * Date: 14-1-15
 * Time: 下午6:03
 * To change this template use File | Settings | File Templates.
 */

@Entity(name = "USERM")
@Table(name = "USERM")
public class User {

    /** The author's email address */
    @Id
    @Column(nullable = false)
    private long id;

    private String name;

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
